home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
GETTIME.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
225 b
|
10 lines
/* GETTIME.C --- p. 614 */
#include <stdio.h>
#include <dos.h>
main()
{
struct time dtime;
gettime(&dtime);
printf("Current time: %d:%d:%d.%d\n", dtime.ti_hour, dtime.ti_min,
dtime.ti_sec, dtime.ti_hund);
}